package com.lxk.dao;

import com.lxk.pojo.Commodityinfo;
import com.lxk.pojo.CommodityinfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CommodityinfoMapper {
    long countByExample(CommodityinfoExample example);

    int deleteByExample(CommodityinfoExample example);

    int deleteByPrimaryKey(Integer commodityId);

    int insert(Commodityinfo record);

    int insertSelective(Commodityinfo record);

    List<Commodityinfo> selectByExample(CommodityinfoExample example);

    Commodityinfo selectByPrimaryKey(Integer commodityId);

    int updateByExampleSelective(@Param("record") Commodityinfo record, @Param("example") CommodityinfoExample example);

    int updateByExample(@Param("record") Commodityinfo record, @Param("example") CommodityinfoExample example);

    int updateByPrimaryKeySelective(Commodityinfo record);

    int updateByPrimaryKey(Commodityinfo record);
}